/* SPDX-License-Identifier: GPL-2.0 */
#pragma once

#include <linux/lockdep_types.h>
#include <linux/types.h>

struct timer_list
{
	/*
	 * All fields that change during normal runtime grouped to the
	 * same cacheline
	 */
	struct hlist_node entry;
	void (*function)(struct timer_list *);
	unsigned long expires;
	unsigned int flags;

#ifdef CONFIG_LOCKDEP
	struct lockdep_map lockdep_map;
#endif
};
